//
//  StockVKLineView.h
//  K线图自治
//
//  Created by LK-IOS on 2017/12/19.
//  Copyright © 2017年 LK-IOS. All rights reserved.
//

#import "StockBaseView.h"


@class StockKLineModel , StockVKLineView;

@protocol StockVKLineViewDelegate <NSObject>

@optional
//方法为可选择实现
-(NSMutableArray<__kindof StockKLineModel*>*)stockKLineView:(StockVKLineView *)stockVKLineView LoadmoreData:(NSString *)loadDataNeedString;


@end


@interface StockVKLineView : StockBaseView

/**
 构造器
 @param kLineModels K线模型数组
 @return 对象
 */
- (instancetype)initWithFrame:(CGRect)frame KLineModels:(NSMutableArray<__kindof StockKLineModel*>*)kLineModels;



/**
 重绘视图
 
 @param kLineModels K线模型数组
 */
- (void)reDrawWithKLineModelsArray:(NSMutableArray<__kindof StockKLineModel*>*)kLineModels;





@property (nonatomic , weak)id<StockVKLineViewDelegate>delegate;


@end
